package com.wei.czz.framework.index.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2021-09-26 22:15:00
 * className: UserLikeCommentEntity 用户点赞评论表实体类
 * version: 1.0
 * description:
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_user_like_comment")
public class UserLikeCommentEntity extends BaseEntity {

	/**
	 * 主键
	 * 主键类型：自增主键
	 */
	@TableId(type = IdType.AUTO)
	private Long optId;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 博客id
	 */
	private Long blogId;
	/**
	 * 评论id
	 */
	private Long commentId;
	/**
	 * 是否有效[0-有效 1-无效]
	 */
	private Integer status;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 创建时间
	 */
	private Date createTime;

}
